using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Responses.Objects;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Responses
{
	public static class LoginLogsExtend
{
		public static ResponseLoginLogsDto ToResponseDto(this LoginLogs entity)
{			return new ResponseLoginLogsDto
			{
				id = entity.LlId,
				adminId = entity.LlAdminId,
				code = entity.LlCode,
				createTime = entity.LlCreateTime,
			};
		}
	}
}
